package com.genius.workflow.bo;

import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;

import javax.validation.constraints.NotBlank;

@Data
@ApiModel(value = "上传流程定义编码BO", description = "从客户端，由用户传入的数据封装在此entity中")
public class UploadDefinitionBO {
    @NotBlank(message = "流程定义编码不能为空")
    @ApiModelProperty("流程定义编码")
    private String bpmnTemplate;

    @NotBlank(message = "部署名称不能为空")
    @ApiModelProperty("部署名称")
    private String deploymentName;
}
